package yf.mall.enums;

import lombok.Getter;


/**
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Fri Nov 01 11:21:43 CST 2019
 */
@Getter
public enum MallTypeTypeEnum {


                   ONE(0,"一级")
                                    ,
                
            
                   TWO(1,"二级")
                
                                ;
            
        
        int index;
        String value;

    MallTypeTypeEnum(int index,String value) {
        this.index = index;
        this.value = value;
        }

    public static String indexOf(int idx) {
        return MallTypeTypeEnum.values()[idx].getValue();
    }

}
